package com.bsoft.gol.hcs.specialist.entity;

import com.fasterxml.jackson.annotation.JsonFormat;

import javax.persistence.*;
import java.util.Date;

/**
 * @author tongtp
 * @version v0.1
 * @className FusAnswerInHospitalInfo
 * @description
 * @create 2020-08-03 15:27
 **/
@Entity
@Table(name = "fus_answer_in_hospital_info")
public class FusAnswerInHospitalInfo {
	private long fusAnswerInHospitalInfoId;
	private String userInfoId;
	private String titleId;
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",locale = "zh_CN",timezone="GMT+8")
	private Date createTime;
	private String patientId;
	private String cardType;
	private String cardNumber;
	private String patientMedicalCardNumber;
	private Integer patientMedicalCardType;
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",locale = "zh_CN",timezone="GMT+8")
	private Date beAdmissionTime;

	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",locale = "zh_CN",timezone="GMT+8")
	private Date dischargeTime;
	//机构代码
	private String organizationId;
	//机构名称
	private String organizationName;
	private String departmentId;
	private String departmentName;
	private String doctorId;
	private String doctorName;
	private long diseaseTypeId;
	private String diseaseTypeName;
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",locale = "zh_CN",timezone="GMT+8")
	private Date answerTime;
	private String reportId;

	@Id
	@Column(name = "fus_answer_in_hospital_info_id")
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	public long getFusAnswerInHospitalInfoId() {
		return fusAnswerInHospitalInfoId;
	}

	public void setFusAnswerInHospitalInfoId(long fusAnswerInHospitalInfoId) {
		this.fusAnswerInHospitalInfoId = fusAnswerInHospitalInfoId;
	}

	@Basic
	@Column(name = "user_info_id")
	public String getUserInfoId() {
		return userInfoId;
	}

	public void setUserInfoId(String userInfoId) {
		this.userInfoId = userInfoId;
	}

	@Basic
	@Column(name = "title_id")
	public String getTitleId() {
		return titleId;
	}

	public void setTitleId(String titleId) {
		this.titleId = titleId;
	}

	@Basic
	@Column(name = "create_time")
	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	@Basic
	@Column(name = "patient_id")
	public String getPatientId() {
		return patientId;
	}

	public void setPatientId(String patientId) {
		this.patientId = patientId;
	}

	@Basic
	@Column(name = "card_type")
	public String getCardType() {
		return cardType;
	}

	public void setCardType(String cardType) {
		this.cardType = cardType;
	}

	@Basic
	@Column(name = "card_number")
	public String getCardNumber() {
		return cardNumber;
	}

	public void setCardNumber(String cardNumber) {
		this.cardNumber = cardNumber;
	}

	@Basic
	@Column(name = "patient_medical_card_number")
	public String getPatientMedicalCardNumber() {
		return patientMedicalCardNumber;
	}

	public void setPatientMedicalCardNumber(String patientMedicalCardNumber) {
		this.patientMedicalCardNumber = patientMedicalCardNumber;
	}

	@Basic
	@Column(name = "patient_medical_card_type")
	public Integer getPatientMedicalCardType() {
		return patientMedicalCardType;
	}

	public void setPatientMedicalCardType(Integer patientMedicalCardType) {
		this.patientMedicalCardType = patientMedicalCardType;
	}

	@Basic
	@Column(name = "be_admission_time")
	public Date getBeAdmissionTime() {
		return beAdmissionTime;
	}

	public void setBeAdmissionTime(Date beAdmissionTime) {
		this.beAdmissionTime = beAdmissionTime;
	}

	@Basic
	@Column(name = "discharge_time")
	public Date getDischargeTime() {
		return dischargeTime;
	}

	public void setDischargeTime(Date dischargeTime) {
		this.dischargeTime = dischargeTime;
	}

	@Basic
	@Column(name = "department_id")
	public String getDepartmentId() {
		return departmentId;
	}

	public void setDepartmentId(String departmentId) {
		this.departmentId = departmentId;
	}

	@Basic
	@Column(name = "department_name")
	public String getDepartmentName() {
		return departmentName;
	}

	public void setDepartmentName(String departmentName) {
		this.departmentName = departmentName;
	}

	@Basic
	@Column(name = "doctor_id")
	public String getDoctorId() {
		return doctorId;
	}

	public void setDoctorId(String doctorId) {
		this.doctorId = doctorId;
	}

	@Basic
	@Column(name = "doctor_name")
	public String getDoctorName() {
		return doctorName;
	}

	public void setDoctorName(String doctorName) {
		this.doctorName = doctorName;
	}

	@Basic
	@Column(name = "disease_type_id")
	public long getDiseaseTypeId() {
		return diseaseTypeId;
	}

	public void setDiseaseTypeId(long diseaseTypeId) {
		this.diseaseTypeId = diseaseTypeId;
	}

	@Basic
	@Column(name = "disease_type_name")
	public String getDiseaseTypeName() {
		return diseaseTypeName;
	}

	public void setDiseaseTypeName(String diseaseTypeName) {
		this.diseaseTypeName = diseaseTypeName;
	}

	@Basic
	@Column(name = "answer_time")
	public Date getAnswerTime() {
		return answerTime;
	}

	public void setAnswerTime(Date answerTime) {
		this.answerTime = answerTime;
	}

	@Basic
	@Column(name = "report_id")
	public String getReportId() {
		return reportId;
	}

	public void setReportId(String reportId) {
		this.reportId = reportId;
	}

	@Basic
	@Column(name = "organization_id")
	public String getOrganizationId() {
		return organizationId;
	}

	public void setOrganizationId(String organizationId) {
		this.organizationId = organizationId;
	}

	@Basic
	@Column(name = "organization_name")
	public String getOrganizationName() {
		return organizationName;
	}

	public void setOrganizationName(String organizationName) {
		this.organizationName = organizationName;
	}
}
